.class Lcom/instagram/android/directshare/d/u;
.super Lcom/instagram/android/d/k/l;
.source "InboxStore.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/k/l",
        "<",
        "Lcom/instagram/android/directshare/b/b/a;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Z

.field final synthetic b:Lcom/instagram/android/directshare/d/s;


# direct methods
.method constructor <init>(Lcom/instagram/android/directshare/d/s;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 176
    iput-object p1, p0, Lcom/instagram/android/directshare/d/u;->b:Lcom/instagram/android/directshare/d/s;

    iput-boolean p2, p0, Lcom/instagram/android/directshare/d/u;->a:Z

    invoke-direct {p0}, Lcom/instagram/android/d/k/l;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    .prologue
    .line 179
    invoke-super {p0}, Lcom/instagram/android/d/k/l;->a()V

    .line 180
    iget-object v0, p0, Lcom/instagram/android/directshare/d/u;->b:Lcom/instagram/android/directshare/d/s;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/instagram/android/directshare/d/s;->a(Lcom/instagram/android/directshare/d/s;Z)Z

    .line 181
    iget-object v0, p0, Lcom/instagram/android/directshare/d/u;->b:Lcom/instagram/android/directshare/d/s;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/s;->a(Lcom/instagram/android/directshare/d/s;)Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/d/k/l;

    .line 182
    invoke-virtual {v0}, Lcom/instagram/android/d/k/l;->a()V

    goto :goto_0

    .line 184
    :cond_0
    return-void
.end method

.method public a(Landroid/content/Context;Lcom/instagram/android/d/k/h;)V
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 188
    invoke-super {p0, p1, p2}, Lcom/instagram/android/d/k/l;->a(Landroid/content/Context;Lcom/instagram/android/d/k/h;)V

    .line 189
    iget-object v0, p0, Lcom/instagram/android/directshare/d/u;->b:Lcom/instagram/android/directshare/d/s;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/instagram/android/directshare/d/s;->a(Lcom/instagram/android/directshare/d/s;Z)Z

    .line 191
    iget-object v0, p0, Lcom/instagram/android/directshare/d/u;->b:Lcom/instagram/android/directshare/d/s;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/s;->a(Lcom/instagram/android/directshare/d/s;)Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/d/k/l;

    .line 192
    invoke-virtual {v0, p1, p2}, Lcom/instagram/android/d/k/l;->a(Landroid/content/Context;Lcom/instagram/android/d/k/h;)V

    goto :goto_0

    .line 194
    :cond_0
    return-void
.end method

.method protected a(Lcom/instagram/android/directshare/b/b/a;)V
    .locals 2
    .parameter

    .prologue
    .line 198
    invoke-virtual {p1}, Lcom/instagram/android/directshare/b/b/a;->b()Lcom/instagram/android/directshare/d/c;

    move-result-object v0

    .line 199
    invoke-static {v0}, Lcom/instagram/android/directshare/j/c;->a(Lcom/instagram/android/directshare/d/c;)V

    .line 200
    invoke-virtual {p1}, Lcom/instagram/android/directshare/b/b/a;->f()Lcom/instagram/realtimeclient/RealtimeSubscription;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 201
    invoke-static {}, Lcom/instagram/android/p/f;->a()Lcom/instagram/android/p/f;

    move-result-object v0

    invoke-virtual {p1}, Lcom/instagram/android/directshare/b/b/a;->f()Lcom/instagram/realtimeclient/RealtimeSubscription;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/p/f;->a(Lcom/instagram/realtimeclient/RealtimeSubscription;)V

    .line 204
    :cond_0
    iget-boolean v0, p0, Lcom/instagram/android/directshare/d/u;->a:Z

    if-eqz v0, :cond_3

    .line 205
    invoke-static {}, Lcom/instagram/android/p/f;->a()Lcom/instagram/android/p/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/p/f;->b()Lcom/instagram/realtimeclient/RealtimePatchRange;

    move-result-object v0

    .line 206
    if-nez v0, :cond_2

    invoke-virtual {p1}, Lcom/instagram/android/directshare/b/b/a;->e()Lcom/instagram/realtimeclient/RealtimePatchRange;

    move-result-object v0

    .line 208
    :goto_0
    invoke-static {}, Lcom/instagram/android/p/f;->a()Lcom/instagram/android/p/f;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/instagram/android/p/f;->a(Lcom/instagram/realtimeclient/RealtimePatchRange;)V

    .line 213
    :goto_1
    iget-object v0, p0, Lcom/instagram/android/directshare/d/u;->b:Lcom/instagram/android/directshare/d/s;

    invoke-virtual {p1}, Lcom/instagram/android/directshare/b/b/a;->c()Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/directshare/d/s;->a(Ljava/util/List;)V

    .line 215
    invoke-static {}, Lcom/instagram/android/p/f;->a()Lcom/instagram/android/p/f;

    move-result-object v0

    invoke-virtual {p1}, Lcom/instagram/android/directshare/b/b/a;->e()Lcom/instagram/realtimeclient/RealtimePatchRange;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/p/f;->a(Lcom/instagram/realtimeclient/RealtimePatchRange;)V

    .line 216
    invoke-static {}, Lcom/instagram/android/p/f;->a()Lcom/instagram/android/p/f;

    move-result-object v0

    invoke-virtual {p1}, Lcom/instagram/android/directshare/b/b/a;->d()Ljava/util/Map;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/p/f;->a(Ljava/util/Map;)V

    .line 218
    iget-object v0, p0, Lcom/instagram/android/directshare/d/u;->b:Lcom/instagram/android/directshare/d/s;

    invoke-virtual {p1}, Lcom/instagram/android/directshare/b/b/a;->a()Lcom/instagram/android/model/d;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/android/directshare/d/s;->a(Lcom/instagram/android/directshare/d/s;Lcom/instagram/android/model/d;)Lcom/instagram/android/model/d;

    .line 219
    iget-object v0, p0, Lcom/instagram/android/directshare/d/u;->b:Lcom/instagram/android/directshare/d/s;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/s;->b(Lcom/instagram/android/directshare/d/s;)Lcom/instagram/android/model/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/model/d;->b()Lcom/instagram/android/model/e;

    move-result-object v0

    sget-object v1, Lcom/instagram/android/model/e;->a:Lcom/instagram/android/model/e;

    if-eq v0, v1, :cond_1

    .line 222
    iget-object v0, p0, Lcom/instagram/android/directshare/d/u;->b:Lcom/instagram/android/directshare/d/s;

    invoke-virtual {p1}, Lcom/instagram/android/directshare/b/b/a;->c()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/directshare/d/s;->a(I)V

    .line 224
    :cond_1
    return-void

    .line 206
    :cond_2
    invoke-virtual {p1}, Lcom/instagram/android/directshare/b/b/a;->e()Lcom/instagram/realtimeclient/RealtimePatchRange;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/realtimeclient/RealtimePatchRange;->union(Lcom/instagram/realtimeclient/RealtimePatchRange;)Lcom/instagram/realtimeclient/RealtimePatchRange;

    move-result-object v0

    goto :goto_0

    .line 210
    :cond_3
    invoke-static {}, Lcom/instagram/android/p/f;->a()Lcom/instagram/android/p/f;

    move-result-object v0

    invoke-virtual {p1}, Lcom/instagram/android/directshare/b/b/a;->e()Lcom/instagram/realtimeclient/RealtimePatchRange;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/p/f;->a(Lcom/instagram/realtimeclient/RealtimePatchRange;)V

    .line 211
    iget-object v0, p0, Lcom/instagram/android/directshare/d/u;->b:Lcom/instagram/android/directshare/d/s;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/s;->f()V

    goto :goto_1
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 176
    check-cast p1, Lcom/instagram/android/directshare/b/b/a;

    invoke-virtual {p0, p1}, Lcom/instagram/android/directshare/d/u;->a(Lcom/instagram/android/directshare/b/b/a;)V

    return-void
.end method
